package com.young4j.springdemo.service.impl;

import com.young4j.springdemo.entity.Student;
import com.young4j.springdemo.mapper.StudentMapper;
import com.young4j.springdemo.service.IStudentService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * InnoDB free: 9216 kB 服务实现类
 * </p>
 *
 * @author yangfei
 * @since 2019-01-07
 */
@Service
public class StudentServiceImpl extends ServiceImpl<StudentMapper, Student> implements IStudentService {
    @Autowired
    private StudentMapper studentMapper;
    @Override
    public List<Student> selectLists() {
        return studentMapper.selectLists();
    }
}
